<% form_for :ops, nil, :url => searchpost_path, :html => {:target => "_blank"} do |f| %>
<div class="searchform">
  查找#<%= f.text_field :wid, :class => :mini %>期，
  http://<%=BILI_PATH%>/video/av <%= f.text_field :avid, :class => :little %> 的排名：
  <%= f.submit '----查找----' %><br/>
</div>
<% end %>
<% cache do %>
<hr/>
<div class="leftform">
  <%= render :partial => "result", :collection => @results %>
</div>
<div class="rightform">
  <div class="searchform">
    <div style="text-align:left">&lt;&lt;&lt;&lt;&nbsp;最新</div>
    <p class="sf_left">
        <%=image_tag Work.find_by_wid(@latest.wid).pic_path rescue nil %>
     </p>
    <p class="sf_left">
        <%= bili_video_link @latest.wid %><br/>
        <%= bili_video_link @latest.wid, @latest.name %>
     </p>
     <p class="cf"></p>
  </div>
  <div class="rightmain">
    <%= render :partial => "info" %>
  </div>
</div>
<p class="cf"></p>
<hr/>
<% end %>